<?php $this->headLink()->prependStylesheet('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/themes/base/jquery-ui.css');?>
<?php $this->headScript()->prependFile(Ac_Util::getImageBaseUrl('/js/admin_script.v-'.AC_VERSION.'.js'))?>
<?php $this->headScript()->prependFile('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js')?>
<?php $this->JQuery()->javascriptCaptureStart()?>
/*$('document').ready(function(){
	$j('.hasDaterpicker').click(function(){
		alert('XXX');	
	});
});*/
<?php $this->JQuery()->javascriptCaptureEnd()?>
<?php $this->headStyle()->captureStart()?>
.postbox {
	float:left;
	width: 45%;
	background:#5f5;
	border:1px #0f0 solid;
	margin:5px; 
	padding:5px;
}
.postbox-container {
	width:100%;
}
<?php $this->headStyle()->captureEnd()?>

<section>
    <header>
        <h2>Dashboard</h2>
    </header>
    <div>
    	<form method="GET">
			<label for="from">From </label>
			<input type="text" id="from" name="from"/>
			<label for="to"> To </label>
			<input type="text" id="to" name="to"/>
			<input type="submit" name="go" value="Go">
			<a href="admin/admin/extract-dashboard<?php if(!empty($_GET['from']) && !empty($_GET['to'])){echo '?from='.$_GET['from'].'&to='.$_GET['to'];}?>">Extract Report</a>
		</form>
	</div>
    <div id="dashboard-widgets-wrap">
	    	<?php /*if (count($this->modules)>0):?>
                <?php foreach ($this->modules as $module): ?>
					<article class="postbox">
    					<!--div class="handlediv" title="Click to toggle"><br /></div-->
    					<h3 class='hndle'><span><?php echo $module->name?></span></h3>
    					<div class="inside">
                            <?php echo $this->Action('dashboard', 'admin', $module->name);?>
    					</div>
					</article>
                <?php endforeach;?>
            <?php endif;*/?>
        <div class="clear"></div>
    </div><!-- dashboard-widgets-wrap -->
    
</section>
